<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>详情</title>
    <script th:src="@{/layui/layui.js}" type="text/javascript"></script>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet"/>
</head>
<body>
<div class="layui-form-pane">
    <form class="layui-form">
        <div class="layui-form-item">
        <label class="layui-form-label">商品名称</label>
        <div class="layui-input-block">
        <input class="layui-input" name="name" th:value="${c.name}">
        </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">市场售价</label>
            <div class="layui-input-block">
                <input class="layui-input" name="marketPrice" th:value="${c.marketPrice}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">当前售价</label>
            <div class="layui-input-block">
                <input class="layui-input" name="price" th:value="${c.price}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否新品</label>
            <div class="layui-input-block">
                <input class="layui-input" name="newCommodity" th:value="${c.newCommodity}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否热品</label>
            <div class="layui-input-block">
                <input class="layui-input" name="hot" th:value="${c.hot}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">关键词</label>
            <div class="layui-input-block">
                <input class="layui-input" name="keyword" th:value="${c.keyword}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">品牌名</label>
            <div class="layui-input-block">
                <input class="layui-input" name="brand" th:value="${c.brand}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">商品状态</label>
            <div class="layui-input-block">
                <input class="layui-input" name="state" th:value="${c.state}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">商品规格</label>
            <div class="layui-input-block">
                <input class="layui-input" name="specifications" th:value="${c.specifications}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">商品库存</label>
            <div class="layui-input-block">
                <input class="layui-input" name="stock" th:value="${c.stock}">
            </div>
        </div>
    </form>
</div>

</body>
</html>